package com.yxq.mdt.app.modules.spikeorder.prestener;

import com.yxq.mdt.app.base.ibase.IBaseContract;
import com.yxq.mdt.app.modules.order.bean.OrderConfirmBean;
import com.yxq.mdt.app.modules.order.bean.OrderPayResultWxBean;
import com.yxq.mdt.app.modules.spikeorder.bean.ExpressBean;
import com.yxq.mdt.app.modules.spikeorder.bean.OrderDetailBean;
import com.yxq.mdt.app.modules.spikeorder.bean.OrderListBean;
import com.yxq.mdt.app.modules.spikeorder.bean.OrderPayResultBalanceBean;
import com.yxq.mdt.app.modules.spikeorder.bean.OrderSubmitResult;
import com.yxq.mdt.app.modules.spikeorder.bean.SpikeOrderConfirmBean;

public interface ISpikeOrderContract extends IBaseContract {

    interface View extends IBaseView {

        void onLoadSuccess(SpikeOrderConfirmBean orderConfirmBean);

        void onLoadFailed(String err);

        void onLoadListSuccess(OrderListBean orderListBean);

        void onLoadListFailed(String err);

        void onSubmitSuccess(OrderSubmitResult orderSubmitResult);

        void onSubmitFailed(String err);

        void onPayBalanceSuccess(OrderPayResultBalanceBean orderPayResultBalanceBean);

        void onPayBalanceFailed(String err);

        void onPayWxSuccess(OrderPayResultWxBean orderPayResultWxBean);

        void onPayWxFailed(String err);

        void onDetailSuccess(OrderDetailBean orderDetailBean);

        void onDetailFailed(String err);

        void onExpressSuccess(ExpressBean expressBean);

        void onExpressFailed(String err);
    }


    interface Presenter extends IBasePresenter {

        void preview(String address_id, String mch_list);

    }
}
